package com.luichi.data.base;

import com.luichi.data.net.ApiService;

import nucleus.presenter.RxPresenter;

/**
 * Created by hlr on 2015/11/12.
 */
public class BasePresenter<T> extends RxPresenter<T> {

    public void cancelRequest(int requestId) {
        ApiService.cancelRequest(requestId);
        stop(requestId);
    }

}
